import tab from './tab';
import auth from './auth';
import cache from './cache';
import modal from './modal';
import type { App } from 'vue';

export default function installPlugins(app: App) {
	// 页签操作
	app.config.globalProperties.$tab = tab;
	// 认证对象
	app.config.globalProperties.$auth = auth;
	// 缓存对象
	app.config.globalProperties.$cache = cache;
	// 模态框对象
	app.config.globalProperties.$modal = modal;
}
